home *** CD-ROM | disk | FTP | other *** search
- #include <boopsi/supermodel.h>
-
- /****** supermodel.class/--datasheet-- ******************************************
- *
- * NAME
- * supermodel.class -- Model and IC class
- *
- * SUPERCLASS
- * modelclass
- *
- * DESCRIPTION
- *
- *
- * METHODS
- *
- *
- * ATTRIBUTES
- * SMA_AddMember - calls OM_ADDMEMBER
- *
- * SMA_RemMember - calls OM_REMMEMBER
- *
- * SMA_GlueFunc - Glue code, does tag mapping/conversion, etc.
- * See example.
- * see --datasheet-GlueFunc--
- *
- * SMA_GlueFuncA6 - If your glue code is in a library, set this to
- * your Library base.
- *
- * SMA_GlueFuncUserData -
- *
- * SMA_CacheStringTag - cache string data
- *
- * icclass Tags supported also
- *
- * NOTES
- *
- * BUGS
- * Doesn't fail if SMA_AddMember is NULL during OM_NEW.
- * It will in the future.
- *
- * SEE ALSO
- *
- ******************************************************************************
- *
- */
-
- /****** supermodel.class/--datasheet-GlueFunc-- ******************************************
- *
- * NAME
- * GlueFunc
- *
- * SYNOPSIS
- * rv GlueFunc(GlueData, TagList, [userdata], [a6])
- * d0 a0 a1 a2 a6
- *
- * ULONG GlueFunc(struct smGlueData *, struct TagItem *, APTR, APTR);
- *
- * FUNCTION
- * GlueFunc is a function you provide to modify a tag list before
- * being sent to the members and ICA_TARGET of the modelclass.
- *
- * You may modify TagList and use the SMTAG_functions to modify
- * TagList, however, don't free TagList.
- *
- * Call SM_SendGlueAttrsA() to send your new attributes back to the
- * model class for notifiaction.
- *
- * NOTES
- * There is room for 50 tags in TagList
- *
- * BUGS
- *
- * SEE ALSO
- *
- ******************************************************************************
- *
- */
-
- /****** supermodel.class/--datasheet-supericclass-- ******************************************
- *
- * NAME
- * supermodel.class -- IC class
- *
- * SUPERCLASS
- * icclass
- *
- * DESCRIPTION
- * An interconnect object, creates a data path between a supermodel
- * object and other objects (usually gadgets)
- *
- * METHODS
- *
- * ATTRIBUTES
- * SICA_Model - set by model class when addmembered.
- *
- * ICA_TARGET - target object
- *
- * You may set either ICA_MAP or SICA_TargetMap or
- * (SICA_ToTargetMap and SICA_FromTargetMap)
- *
- * ICA_MAP - map tags
- * The supplied taglist is cloned and applied to the ic object.
- * Another taglist is built by reversing the tags and applied to
- * the targeted object.
- *
- * SICA_TargetMap -
- * The supplied taglist is cloned and applied to the targeted object.
- * Another taglist is built by reversing the tags and applied to
- * the ic object.
- *
- * SICA_ToTargetMap - Applied to tags sent from the
- * ic object to the targeted object.
- *
- * SICA_FromTargetMap - Applied to tags sent from the
- * targeted object to, likely, the modelobject
- *
- *
- * NOTES
- * if ICA_TARGET is valid,
- * the ic object will set the Target's ICA_TARGET and ICA_MAP.
- *
- * BUGS
- *
- * SEE ALSO
- *
- ******************************************************************************
- *
- */
-
- /****** supermodel.class/--History-- ******************************************
- *
- * To Do
- *
- * 44.1 -
- * * GlueCode was freeing memory twice.
- * * Added SMA_CacheStringTag - Anytime this tag is passed through
- * the model class, the string supplied is cached, and ti_Data
- * is updated to point to the cache.
- * 44.2 -
- * * Included version string
- * 44.3 -
- * * Now failes during OM_NEW if any SMA_AddMember is null.
- * * Documentation update.
- * * ICA_MAP support in superic was changed
- *
- ******************************************************************************
- *
- */
-